package com.wuren.faceSwiping.admin.service;


import com.wuren.faceSwiping.admin.entity.Admin;
import com.wuren.faceSwiping.admin.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminService {


    @Autowired
    private AdminMapper adminMapper;


    // 查询admin表中的所有数据
    public List<Admin> queryAdmin(){
        return adminMapper.queryAdmin();
    }

}
